<!DOCTYPE html>
<html lang="en">
    <head>
        <title>商家入驻</title>
    </head>
    <body>
    <include file="Public:top" />
    <include file="Public:left" />
    <!--main-container-part-->
    <div id="content">
        <!--面包屑-->
        <div id="content-header">
            <div id="breadcrumb"> <a href="index.php?s=/Product/packProductHtml" title="打包上传产品" class="tip-bottom"><i class="icon-home"></i> 打包上传产品</a></div>
        </div>
        <!--End-面包屑-->
        <!--我的状态-->
        <div class="row-fluid" style="width:98%;margin-left: 1%;">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                        <h5>打包上传商品</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <form action="index.php?s=/Product/savePackProduct" class="form-horizontal" enctype="multipart/form-data" method="post" onsubmit="return CheckFile();">
                            <div style="padding:8px 0px 8px 10px;"><input type="file" name="file_input" id="file_input" />&nbsp;&nbsp;<button type="submit" class="btn btn-success">Save</button>
                                <span style="padding-left: 5px;">[文件格式rar,zip]</span></div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <notempty name="pack_product_data">
            <div class="row-fluid" style="width:98%;margin-left: 1%;">
                <div class="widget-box" style="padding-top: 0px;margin-top: 0px;">
                    <div class="widget-title"> <span class="icon"><i class="icon-th"></i></span>
                        <h5>Pack-Product-List</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <table class="table table-bordered data-table">
                            <thead>
                                <tr>
                                    <th style="width:5%;">ID</th>
                                    <th style="width:45%;">文件名</th>
                                    <th style="width:10%;">处理状态</th>
                                    <th style="width:30%;">备注</th>
                                    <th style="width:10%;">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            <volist name="pack_product_data" id="productlist">
                                <tr class="gradeX">
                                    <td style="text-align: center">{$productlist['id']}</td>
                                    <td>{$productlist['old_name']}</td>
                                    <td style="text-align: center;">{$productlist['deal_status']|pack_product_status_title}</td>
                                    <td>{$productlist['remark']}</td>
                                    <td style="text-align: center"><a href="index.php?s=/Product/delPackProduct/id/{$productlist['id']}" onclick="return confirm('确定删除?')">删除</a></td>
                                </tr>
                            </volist>
                            </tbody>
                            <tr>
                                <td colspan="5" style=" background-color: #efefef;"><div style="float: right;padding-right: 10px;">{$page}</div></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </notempty>
        <include file="Public:foot" />
    </div>
</body>
</html>
